//
// Created by ziya on 2021/1/14.
//

#ifndef STACK_ENGINE_JAVATHREADSTACK_H
#define STACK_ENGINE_JAVATHREADSTACK_H

#include "common.h"
#include "stackFrame.h"
#include "../container/stack.h"

class JavaThreadStack {

private:
    jint _stackSize;    // 暂时没用上

private:
    Stack<StackFrame>* _stackFrames;

public:
    JavaThreadStack(jint stackSize) {
        _stackSize = stackSize;

        _stackFrames = new Stack<StackFrame>(5);
    }

public:
    Stack<StackFrame>* stackFrames() {
        return _stackFrames;
    }

};


#endif //STACK_ENGINE_JAVATHREADSTACK_H
